import 'package:regular_assess/pages/me/setup/language/index.dart';

import '../../pages/app_tab/index.dart';
import '../../pages/login/main/index.dart';
import '../../pages/me/footprint/index.dart';

import '../../pages/me/setup/about/binding.dart';
import '../../pages/me/setup/about/page.dart';
import '../../pages/me/setup/forgot/find_back_success/page.dart';
import '../../pages/me/setup/forgot/main/binding.dart';
import '../../pages/me/setup/forgot/main/page.dart';
import '../../pages/me/setup/forgot/new_pwd/binding.dart';
import '../../pages/me/setup/forgot/new_pwd/page.dart';
import '../../pages/me/setup/login_pwd/binding.dart';
import '../../pages/me/setup/login_pwd/page.dart';
import '../../pages/me/setup/main/binding.dart';
import '../../pages/me/setup/main/page.dart';
import '../../pages/me/setup/modify_phone/main/binding.dart';
import '../../pages/me/setup/modify_phone/main/page.dart';
import '../../pages/me/setup/modify_phone/modify_phone2/binding.dart';
import '../../pages/me/setup/modify_phone/modify_phone2/page.dart';
import '../../pages/me/setup/nick/binding.dart';
import '../../pages/me/setup/nick/page.dart';
import '../../pages/splash/index.dart';
import '../../pages/web_view/index.dart';
import '../../pages/welcome/index.dart';
import '../utils/util.dart';

part 'route_path.dart';

class RouterPages {
  static final List<GetPage> getPages = [
    GetPage(
      name: RouterPath.splash,
      page: () => SplashPage(),
    ),
    GetPage(
      name: RouterPath.main,
      page: () => const AppTabPage(),
      binding: AppTabBinding(),
    ),
    GetPage(
      name: RouterPath.welcome,
      page: () => const WelcomePage(),
      binding: WelcomeBinding(),
    ),
    GetPage(
      name: RouterPath.forgot_pwd,
      page: () => const ForgotPage(),
      binding: ForgotBinding(),
    ),
    GetPage(
      name: RouterPath.forgot_new_pwd,
      page: () => const NewPwdPage(),
      binding: NewPwdBinding(),
    ),
    GetPage(
      name: RouterPath.find_back_success,
      page: () => FindBackSuccessPage(),
    ),
    GetPage(
      name: RouterPath.setup,
      page: () => const SetupPage(),
      binding: SetupBinding(),
    ),
    GetPage(
      name: RouterPath.modify_phone,
      page: () => const ModifyPhonePage(),
      binding: ModifyPhoneBinding(),
    ),
    GetPage(
      name: RouterPath.modify_phone2,
      page: () => const ModifyPhone2Page(),
      binding: ModifyPhone2Binding(),
    ),
    GetPage(
      name: RouterPath.nick_name,
      page: () => const NickNamePage(),
      binding: NickNameBinding(),
    ),
    GetPage(
      name: RouterPath.about_us,
      page: () => const AboutUsPage(),
      binding: AboutUsBinding(),
    ),
    GetPage(
      name: RouterPath.login,
      page: () => const LoginPage(),
      binding: LoginBinding(),
      transition: Transition.fadeIn,
    ),
    GetPage(
      name: RouterPath.login_pwd,
      page: () => const LoginPwdPage(),
      binding: LoginPwdBinding(),
      fullscreenDialog: true,
    ),
    GetPage(
      name: RouterPath.web_view,
      page: () => const WebViewPage(),
      binding: WebViewBinding(),
      transition: Transition.fadeIn,
    ),
    GetPage(
      name: RouterPath.footprint,
      page: () => const FootprintPage(),
      binding: FootprintBinding(),
    ),
    GetPage(
      name: RouterPath.language,
      page: () => const LanguagePage(),
      binding: LanguageBinding(),
    ),
  ];
}
